To start a few notes... ************************************************************************* *** *** *** IF You Don't Understand Linux and Its File System Then STOP NOW!! *** *** *** ************************************************************************* This is not a webpage. Just a simple text file I can edit fast. It may not show well on phones. Since you will be installing on a PC it is more to be viewed on a PC as your installing. That means no fancy pictures, spell check or colors. Grammer and spelling is not promised. Links are not clickable. Just highlight them copy and paste in your browser. When editing the files it is highly recomended to copy and paste. You should be familar with using your computer and Linux. It is not the scope of this file to 'teach' anyone how to do this. It is just a road map of how it works and ideas to get it done. If you don't understand Linux or the file system you should stop now. I am not responsiable for anything you may do! It is a work in progress and will be updated as need be. This is for installing a Asterisk server on a Windows 10 PC. I have not tried it on anything else. It runs on Debian. It works rather well. This is how-to on a VM but will also run on any Debian (ver 9). Our hosted HUBS (700, 701, 411...) all run on this software under Debian 9. They are just on a Data Center and this is for your PC. I am NOT a tech, software designer or programer, so please don't try to call me out or beat me up on simple mistakes or petty things. If there is something you find that I missed feel free to mention it. There maybe 10 different ways to do this but this is how I know. This is for a HUB as I haven't tried to connect a USB to it yet. I'm sure it can be configured in the VM and it should work right away on a Debian install but I didn't have time to try it yet. Anyone else do it yet? Now on to the show.... Tony WRAW556 ************************************************************************************* All the 'better' linking projects (for HAM and GMRS) use Asterisk software. The files are motified for the different groups. The main one is Allstarlink. There are 2 major versions of the modified software, Allstar and Hamvoip. Hamvoip will only run on Raspberry pi and Allstar is mainly on PC's (but can be on a pi also). On our current image we use the Hamvoip version modified for our servers. This how-to will use the Allstar version so it can run on the PC. Each install of the Asterisk software is a server in itself. If you have a pi it is a server. If you have 2 then you have 2 independent servers. Other networks like Echo Link and Zello host their own servers and all traffic goes through therir servers. Since each Asterisk install is a server you connect to each other WITHOUT going through a host. You simply tell your node to connect to another node. But wait.... How Do You Kow Where The Other Node Is? That is where GMRS Live and other services like Allstar come in. We provide the information on who is logged in to their node and where to find them. Your computer (not each node) running Asterisk checks in with our servers and updates the node information for each node on THAT install. It makes that information available to all the other Servers currently connected so they know where you are. This is BASICLY how it does it. Why tell you all this. Two reasons... To drive the point that this is a independent network that you connect to each other and we have no control over your nodes and don't know what you are doing unless your connected to one of our nodes or you host a status page telling ev4eryone what is going on. And to show that we are not part of or riding on Allstar. They have there servers and we have ours, ************************************************************************************* Files I downloaded... Virtual Machine Software https://www.vmware.com/uk/products/workstation-player/workstation-player-evaluation.html Allstarlink Software (ISO) http://downloads.allstarlink.org/ASL_Images/Intel-AMD/ ************************************************************************************* You install the software on Debian 9 (Linux) in a Virtual Machine (VM). If you have a true linux machine you can just jump past the VM stuff and install on Linux. I in the past have used Oracle Virtual Box but Right now I'm trying a VMware Workstation Player. It is free for home use. Just install, no key required. It will ask you a few question and then select your Allstar iso you downloaded. After restart you will boot in to the setup screen for allstar. A Few things .. -I installed 32 bit version -Accepted all the defaults -A few times while downloading it paused for awhile. I though it crashed but it continued.. -If while in the VM you can't see your moose or keyboard hit CTRL and ALT at the same time to get out -It creates its own network. My home is 10.100.10.xxx it created 192.168.192.xxx use the command 'ip address' to get your ip -Uses SSH port 22 (not like the pi that uses 222) -After setup click finish setup at the bottom of the screen. I think this disconnects the ISO -Username is repeater and password is allstarlink. When it started up I used WinSCP and Putty to edit it. This is the first time I have used this VMware and I see that when you start it up it takes a little while before you can use it. Also the mouse has to be over the VM window to type in it. That is another reason I use WinSCP. Change permissions of the directies so you can edit your files... sudo chmod -R 777 /etc/asterisk/ sudo chmod 777 /usr/local/bin/rc.updatenodelist sudo chmod 777 /usr/local/sbin/astdb.php After writing files I would get a permission error (in WinSCP) even though it wrote the file. In WinSCP options/preferences I selected transfer in the left panel. Default was highlighted I hit the edit box towards the bottom. In the window that opened I took the check mark out of Preserve Timestamp. Hit ok and the error stopped. ************************************************************************************* You should know how to confgure a node with rpt.conf exstension.conf and iax.conf The following is how to set your Asterisk server for GMRS Live. Edit the following files as shown. Again copy/paste is recommened. ------- in /etc/asterisk File iax.conf Change the registration statement. Change ; register = 1999:123456@register.allstarlink.org To register = :@register.gmrslive.com is your node number is the password we supplied you in your email make sure you remove the semicolon (;) in the begining to activate the line There is a colon (:) between the node number and password Save and exit the file ------- in /usr/local/bin File rc.updatenodelist Change TOPDOMAIN=allstarlink.org About Line 10 To TOPDOMAIN=gmrslive.com Change SUBDOMAINS="nodes1 nodes2 nodes3 nodes4" About Line 11 To SUBDOMAINS="register registerbak" Save and exit the file ------- in /usr/local/sbin File astdb.php Change $url = "https://allstarlink.org/cgi-bin/allmondb.pl"; About line 5 To $url = "http://register.gmrslive.com/cgi-bin/privatenodes.txt"; Save and exit the file ------- Reboot Note the reboot command wouldn't work so I shut the VM down and restarted it.